/*
 * The following styles define what the search item template looks like.
 */

.search .searchResults .win-item
{
    width: 340px;
    height: 64px;
    margin: 0px;
    margin-right: 40px;
    padding: 8px;
}

    .search .searchResults .win-item:first-child
    {
        margin-left: 112px;
    }

.search .searchResults .searchItemTemplate
{
    width: 100%;
    height: 100%;
    display: -ms-grid;
    -ms-grid-columns: 64px 8px 1fr;
    -ms-grid-rows: 1fr;
}

.search .searchItemTemplate .searchItemTemplateImage
{
    -ms-grid-column: 1;
    -ms-grid-row: 1;
}

.search .searchItemTemplate .searchItemTemplateContent
{
    -ms-grid-column: 3;
    -ms-grid-row: 1;
    overflow: hidden;
}

    .search .searchItemTemplate .searchItemTemplateContent h1
    {
        margin: 0px;
    }

    .search .searchItemTemplate .searchItemTemplateContent p
    {
        margin: 0px;
        max-height: 15pt;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.search section[role=main]
{
    display: -ms-grid;
    -ms-grid-columns: 1fr;
    -ms-grid-rows: 40px 40px 1fr;
}

.search .filterBar
{
    width: 100%;
    height: 100%;
    list-style-type: none;
    margin-left: 40px;
    margin-top: 0px;
}

    .search .filterBar li
    {
        display: inline;
        margin-left: 40px;
        font-size: 20pt;
        line-height: 24pt;
    }

.search .searchResults
{
    -ms-grid-row: 3;
    width: 100%;
    height: 100%;
    padding-bottom: 36px;
}

.search .highlight, mark
{
    background: transparent;
    color: rgb(38, 160, 218);
}

.searchTitleArea
{
    position: absolute;
    top: 43px;
    -ms-grid-column: 2;
}

.search header[role=banner] .pageTitle
{
    display: inline;
    margin-top: 44px;
    padding: 0px;
    padding-right: 30px;
}

.search header[role=banner] .pageSubtitle
{
    display: inline;
    margin: 0px;
    padding: 0px;
}

@media screen and (-ms-view-state: snapped)
{
    .search header[role=banner] .searchTitleArea
    {
        margin-top: 40px;
    }

    .search section[role=main]
    {
        display: -ms-grid;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: 18px 28px 1fr;
    }

    .search .filterBar
    {
        width: 100%;
        height: 100%;
        list-style-type: none;
        -ms-grid-row-align: end;
        margin-left: 0px;
        padding-left: 0px;
    }

        .search .filterBar li
        {
            display: inline;
            margin-left: 12px;
            font-size: 11pt;
            line-height: 15pt;
        }

    .search .searchResults .win-item
    {
        width: 282px;
        height: 64px;
        padding: 8px 0px 8px 8px;
        margin: 0px;
        margin-left: 4px;
        margin-right: 16px;
    }

        .search .searchResults .win-item:first-child
        {
            margin-left: 12px;
        }

    .search .searchResults .searchItemTemplate
    {
        width: 100%;
        height: 100%;
        display: -ms-grid;
        -ms-grid-columns: 64px 12px 1fr;
        -ms-grid-rows: 1fr;
    }

    .search .pageTitle
    {
        height: 30px;
        width: 270px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
}
